Class TXLSExport5

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TXLSExport5 = class(TComponent)

Description

Base class for objects that exports TXLSReadWriteII data to other file formats.

Hierarchy

  • TComponent
  • TXLSExport5

Overview

Methods

Public constructor Create(AOwner: TComponent); override;
Public procedure Write;
Public procedure SaveToStream(Stream: TStream); virtual;
Public procedure Sheets(const ASheetIndexes: array of integer);

Properties

Published property Options: TXLSExportOptions read FOptions write FOptions;
Published property Col1: integer read FCol1 write FCol1;
Published property Col2: integer read FCol2 write FCol2;
Published property Filename: AxUCString read FFilename write SetFilename;
Published property FileExtension: AxUCString read FFileExtension write FFileExtension;
Published property Directory: AxUCString read GetDirectory write SetDirectory;
Published property Row1: integer read FRow1 write FRow1;
Published property Row2: integer read FRow2 write FRow2;
Published property XLS: TXLSReadWriteII5 read FXLS write FXLS;

Description

Methods

Public constructor Create(AOwner: TComponent); override;
 
Public procedure Write;

Writes the data to the file set with ˜[link Filename]

Public procedure SaveToStream(Stream: TStream); virtual;

Writes the data to a stream.

Public procedure Sheets(const ASheetIndexes: array of integer);

Array of sheets to write

Properties

Published property Options: TXLSExportOptions read FOptions write FOptions;
 
Published property Col1: integer read FCol1 write FCol1;

Left column of the source area on the worksheet.

Published property Col2: integer read FCol2 write FCol2;

Right column of the source area on the worksheet.

Published property Filename: AxUCString read FFilename write SetFilename;

Name of the destination file that the data shall be written to, or if different file for each sheet, this is the directory.

Published property FileExtension: AxUCString read FFileExtension write FFileExtension;
 
Published property Directory: AxUCString read GetDirectory write SetDirectory;

Directory where files used by the export (like images for html) will go. Default is the same directory as Filename.

Published property Row1: integer read FRow1 write FRow1;

Top row of the source area on the worksheet.

Published property Row2: integer read FRow2 write FRow2;

Bottom row of the source area on the worksheet.

Published property XLS: TXLSReadWriteII5 read FXLS write FXLS;

The source TXLSReadWriteII2 object.


Generated by PasDoc 0.12.1 on 2013-03-18 12:36:48